import request from '@/utils/request'

// 抢单记录列表
export function apiGoodsRecordLists(params: any) {
    return request.get({ url: '/goods.goods_record/lists', params })
}

// 删除抢单记录
export function apiGoodsRecordDelete(params: any) {
    return request.post({ url: '/goods.goods_record/delete', params })
}

// 派单
export function dispatch(params: any) {
    return request.post({ url: '/goods.goods_record/dispatch', params })
}